package com.ghy.springcloudribbon.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author ghy
 * @date 2019-03-28 22:57
 **/
@FeignClient("SERVICE-PRODUCER")
public interface HelloService {

    @RequestMapping("/hello")
    String sayHello();
}
